package com.voltmao.persistent.model;

import org.mybatis.annotation.Field;
import org.mybatis.annotation.Table;

import java.io.Serializable;

/**
 * doc_apply_audit
 */
@Table(name="doc_apply_audit")
public class DocApplyAudit implements Serializable {
    /**
     * dataId
     */
    public static final String DATAID = "dataId";

    /**
     * dataId
     */
    @Field(columnName="data_id", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String dataId;

    /**
     * 资料审核状态(0:申请,1:通过,2:不通过)
     */
    public static final String FORDIRZLSHZT = "forDirZlshzt";

    /**
     * 资料审核状态(0:申请,1:通过,2:不通过)
     */
    @Field(columnName="for_dir_zlshzt", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String forDirZlshzt;

    /**
     * 所属文档申请
     */
    public static final String FORDOCAPPLY = "forDocApply";

    /**
     * 所属文档申请
     */
    @Field(columnName="for_doc_apply", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String forDocApply;

    /**
     * 申请人
     */
    public static final String FORCORPEMPLOYESUSER = "forCorpEmployesUser";

    /**
     * 申请人
     */
    @Field(columnName="for_corp_employes_user", jdbcType="VARCHAR", javaType=String.class, length=255, scale=0)
    private String forCorpEmployesUser;

    /**
     * 打回原因
     */
    public static final String AUDITREASON = "auditReason";

    /**
     * 打回原因
     */
    @Field(columnName="audit_reason", jdbcType="VARCHAR", javaType=String.class, length=1000, scale=0)
    private String auditReason;

    private static final long serialVersionUID = 1L;

    /**
     * @return dataId
     *         dataId
     */
    public String getDataId() {
        return dataId;
    }

    /**
     * @param dataId
     *         dataId
     */
    public void setDataId(String dataId) {
        this.dataId = dataId == null ? null : dataId.trim();
    }

    /**
     * @return forDirZlshzt
     *         资料审核状态(0:申请,1:通过,2:不通过)
     */
    public String getForDirZlshzt() {
        return forDirZlshzt;
    }

    /**
     * @param forDirZlshzt
     *         资料审核状态(0:申请,1:通过,2:不通过)
     */
    public void setForDirZlshzt(String forDirZlshzt) {
        this.forDirZlshzt = forDirZlshzt == null ? null : forDirZlshzt.trim();
    }

    /**
     * @return forDocApply
     *         所属文档申请
     */
    public String getForDocApply() {
        return forDocApply;
    }

    /**
     * @param forDocApply
     *         所属文档申请
     */
    public void setForDocApply(String forDocApply) {
        this.forDocApply = forDocApply == null ? null : forDocApply.trim();
    }

    /**
     * @return forCorpEmployesUser
     *         申请人
     */
    public String getForCorpEmployesUser() {
        return forCorpEmployesUser;
    }

    /**
     * @param forCorpEmployesUser
     *         申请人
     */
    public void setForCorpEmployesUser(String forCorpEmployesUser) {
        this.forCorpEmployesUser = forCorpEmployesUser == null ? null : forCorpEmployesUser.trim();
    }

    /**
     * @return auditReason
     *         打回原因
     */
    public String getAuditReason() {
        return auditReason;
    }

    /**
     * @param auditReason
     *         打回原因
     */
    public void setAuditReason(String auditReason) {
        this.auditReason = auditReason == null ? null : auditReason.trim();
    }
}